const loginPage = [
    {
    path:'/',
    name:'login',
    component:()=>import('../views/login/Login')
    }
];

const HomePage = [
    {
        path:'/home',
        name:'home',
        component:() =>import('../views/home/Home'),
    }

];

const HotelPage = [
    {
        path:'/hotel',
        name:'hotel',
        component:()=>import('../views/hotels/Hotel')
    },
    {
        path:'/hoteldetail',
        name:'hoteldetail',
        component:()=>import('../views/hotels/HotelDetail')
    }
];

const LandmarkPage = [
    {
        path:'/landmark',
        name:'landmark',
        component:()=>import('../views/landmarks/Landmark')
    },
    {
        path:'/landmarkdetail',
        name:'landmarkdetail',
        component:()=>import('../views/landmarks/LandmarkDetail')
    }
];

const PackagePage = [
    {
        path:'/package',
        name:'package',
        component:()=>import('../views/packages/Package')
    },
    {
        path:'/packagedetail',
        name:'packagedetail',
        component:()=>import('../views/packages/PackageDetail')
    }
];

const UserPage = [
    {
        path:'/user',
        name:'user',
        component:()=>import('../views/users/User')
    }
];

const TestPage = [
    {
        path:'/test',
        name:'test',
        component:()=>import('@/components/test')
    }
]

const ResultPage = [
    {
        path:'/result',
        name:'result',
        component:()=>import('@/views/result/Result'),
        children:[
            {
                path:'hotelcards',
                name:'hotelcards',
                component:()=>import('@/components/cards/hotelCards')
            }
        ]
    }
]

const OrderPage = [
    {
        path:"/insertorders",
        name:"insertorders",
        component:()=>import("@/views/orders/insertOrders")
    }
]

const AdminPage = [
    {
        path:"/admin",
        name:'admin',
        component:()=>import("@/views/admin/Admin")
    }
]








export default[...loginPage,...HomePage,...HotelPage,...LandmarkPage,...PackagePage,...UserPage,...TestPage,...ResultPage,...OrderPage,...AdminPage]